home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / blackfin / include / asm / mmu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  666 b   |  33 lines

  1. #ifndef __MMU_H
  2. #define __MMU_H
  3.  
  4. /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */
  5.  
  6. struct sram_list_struct {
  7.     struct sram_list_struct *next;
  8.     void *addr;
  9.     size_t length;
  10. };
  11.  
  12. typedef struct {
  13.     struct vm_list_struct *vmlist;
  14.     unsigned long end_brk;
  15.     unsigned long stack_start;
  16.  
  17.     /* Points to the location in SDRAM where the L1 stack is normally
  18.        saved, or NULL if the stack is always in SDRAM.  */
  19.     void *l1_stack_save;
  20.  
  21.     struct sram_list_struct *sram_list;
  22.  
  23. #ifdef CONFIG_BINFMT_ELF_FDPIC
  24.     unsigned long    exec_fdpic_loadmap;
  25.     unsigned long    interp_fdpic_loadmap;
  26. #endif
  27. #ifdef CONFIG_MPU
  28.     unsigned long *page_rwx_mask;
  29. #endif
  30. } mm_context_t;
  31.  
  32. #endif
  33.